import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class MyBlackTag extends StatelessWidget {
  final double radius;
  final String tag;

  MyBlackTag(this.tag, this.radius);

  @override
  Widget build(BuildContext context) {
    return Container(
      decoration: BoxDecoration(
          borderRadius: BorderRadius.circular(radius),
          border: Border.all(color: Color(0xFF1D1D1D), width: 0.5)),
      child: Padding(
          padding: EdgeInsets.symmetric(horizontal: 2,),
          child: Text(
            '$tag',
            style: TextStyle(fontSize: 9, color: Color(0xFF1D1D1D)),
          )),
    );
  }
}
